package com.hxzf.mvp.service;

import com.hxzf.mvp.commons.IBaseService;
import com.hxzf.mvp.dao.entity.User;
import com.hxzf.mvp.service.dto.UserQuery;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * IUserService
 *
 * @author Kai
 * @date 2021/12/21 18:41
 **/
public interface UserService extends IBaseService<User> {
    @Transactional(readOnly = true)
    List<User> findByCondition(UserQuery param);

    @Transactional(readOnly = true)
    List<User> findByCondition2(UserQuery param);
}
